F90_UNIX_IO

 

Index

NAME
USAGE
SYNOPSIS
PROCEDURE DESCRIPTION
SEE ALSO
BUGS
 

NAME

f90_unix_io - Module of Unix I/O operations  

USAGE

USE F90_UNIX_IO,ONLY:FLUSH

This module will contain part of a Fortran API to functions detailed in ISO/IEC 9945-1:1990 Portable Operating System Interface (POSIX) - Part 1: System Application Program Interface (API) [C Language].

In this release only the FLUSH procedure is supported. Users are advised to use the ONLY clause when using this module, as it will have further names added in later releases.

Error handling is described in F90_UNIX_ERRNO. Note that for procedures with an optional ERRNO argument, if an error occurs and ERRNO is not present, the program will be terminated.  

SYNOPSIS

Procedures
FLUSH.
 

PROCEDURE DESCRIPTION

SUBROUTINE FLUSH(LUNIT,ERRNO)
INTEGER,INTENT(IN) :: LUNIT
INTEGER,OPTIONAL,INTENT(OUT) :: ERRNO
Flushes the output buffer of logical unit LUNIT.

If LUNIT is not a valid unit number or is not connected to a file, error EBADF is raised (see F90_UNIX_ERRNO).

 

SEE ALSO

f90_unix_errno(3), f95(1), nag_modules(3).  

BUGS

Please report any bugs found to "support@nag.co.uk", along with any suggestions for improvements.

© The Numerical Algorithms Group Ltd, Oxford UK. 2001